package com.mmm.station.security.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * Created by mmm on 2016/12/5.
 */
//@ConfigurationProperties(prefix = "benyun.redis",locations = "classpath:redis.properties")
@ConfigurationProperties(prefix = "mmm.redis")
public class RedisBean {

    private String hostName;
    private Integer port;
    private Integer dataBase;
    private String password;

    private List<String> nodes;

    public List<String> getNodes() {
        return nodes;
    }

    public void setNodes(List<String> nodes) {
        this.nodes = nodes;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getDataBase() {
        return dataBase;
    }

    public void setDataBase(Integer dataBase) {
        this.dataBase = dataBase;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }
}
